<%= link_to "Back", root_url %>
<h2><%= @user.name %></h2>

<%= link_to "Delete", user_url, :method=>:delete %>

<% form_for @user do |f| %>
	
	<p>
	<%= f.label :password %><br />
	<%= f.password_field :password %>
	</p>
	
	<p>
	<%= f.label :studentnumber %><br />
	<%= f.text_field :studentnumber %>
	</p>
	
	<p>
	<%= f.submit "Edit" %>
	</p>
<% end %>